package com.chkj.fbook.business.dao;

import com.chkj.fbook.business.domain.RoomDO;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

/**
 * 房间管理表
 * @author shh_he
 * @email 980027164@qq.com
 * @date 2023-10-02 21:43:16
 */
@Mapper
public interface RoomDao {

	RoomDO get(String id);
	
	List<RoomDO> list(Map<String,Object> map);
	
	int count(Map<String,Object> map);
	
	int save(RoomDO room);
	
	int update(RoomDO room);
	
	int remove(String id);
	
	int batchRemove(String[] ids);

    List<RoomDO> getAll();

    List<RoomDO> getByOrderDate(String orderDate);

	int editAdd1(RoomDO room);

	int editSub1(RoomDO oldRoomDO);
}
